package com.example.icedcap.topeka_fake.model;

import android.support.annotation.DrawableRes;

import com.example.icedcap.topeka_fake.R;

/**
 * Created by doushuqi on 15-7-11上午10:53.
 * Email:doushuqi0409@gmail.com
 */
public enum Avatar {
    ONE(R.drawable.avatar_1),
    TWO(R.drawable.avatar_2),
    THREE(R.drawable.avatar_3),
    FOUR(R.drawable.avatar_4),
    FIVE(R.drawable.avatar_5),
    SIX(R.drawable.avatar_6),
    SEVEN(R.drawable.avatar_7),
    EIGHT(R.drawable.avatar_8),
    NINE(R.drawable.avatar_9),
    TEN(R.drawable.avatar_10),
    ELEVEN(R.drawable.avatar_11),
    TWELVE(R.drawable.avatar_12),
    THIRTEEN(R.drawable.avatar_13),
    FOURTEEN(R.drawable.avatar_14),
    FIFTEEN(R.drawable.avatar_15),
    SIXTEEN(R.drawable.avatar_16);

    private static final String TAG = "Avatar";
    private final int drawableResId;

    Avatar(@DrawableRes final int resId) {
        drawableResId = resId;
    }

    @DrawableRes
    public int getDrawableResId() {
        return drawableResId;
    }

    public String getNameForAccessibility() {
        return TAG + " " + String.valueOf(ordinal() + 1);
    }
}
